package cn.wolfcode.rbac.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Lu.F
 * @version 1.0
 * @Description TODO
 * @date 2022/5/19 16:14
 */
@Data
@ApiModel("员工请求体对象")
public class EmployeeRequest {

    @ApiModelProperty(value = "id",example = "1")
    private Long id;

    @ApiModelProperty(value = "name",example = "jack")
    private String name;

    @ApiModelProperty(value = "password",example = "1")
    private String password;

    @ApiModelProperty(value = "email",example = "1498665771@qq.com")
    private String email;

    @ApiModelProperty(value = "age",example = "21")
    private Integer age;

    @ApiModelProperty(value = "admin",example = "true")
    private Boolean admin=false;

    @ApiModelProperty(value = "deptId",example = "7")
    private Long deptId;

    @ApiModelProperty(value = "roleIds",example = "[4,5]")
    private Long[] roleIds;
}
